package com.xin.di.uav.operate.po;

import lombok.Data;

import java.util.Date;

@Data
public class PermissionPO {

    /**
     * 权限类型枚举
     */
    public enum PermType {
        MENU(1, "菜单"), BUTTON(2, "按钮"), API(3, "接口");

        PermType(int code, String desc) {
        }
    }

    private String id;

    private String parentId;

    private String permName;

    private String permKey;

    private Integer permType;

    private String path;

    private String component;

    private Integer visible = 1;

    private Integer sort = 0;

    private String icon;

    private Date createTime;

}
